package com.project.rfidpage.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.rfidpage.dto.LineRfidDailyDto;
import com.project.rfidpage.dto.LineRfidDailyParam;
import com.project.rfidpage.mapper.LineRfidDailyMapper;
import com.project.rfidpage.service.LineRfidDailyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LineRfidDailyServiceImpl implements LineRfidDailyService {

    @Resource
    private LineRfidDailyMapper lineRfidDailyMapper;

    @Override
    @DS("third")
    public List<LineRfidDailyDto> getListForPage(LineRfidDailyParam param) {
        return lineRfidDailyMapper.selectListByUid(param);
    }

}
